#include <iostream>
#include <fstream>
#include <string>
using std::cout;
using std::endl;
using std::ifstream;
using std::string;

void test0(){
    ifstream ifs("explicit.cc");
    long pos = ifs.tellg();
    cout << pos << endl;

    ifs.seekg(80);
    pos = ifs.tellg();
    cout << pos << endl;
    
    /* string word; */
    /* ifs >> word; */
    /* cout << word << endl; */

    char * buff = new char[100]();
    ifs.read(buff,100);
    cout << buff << endl;

    delete [] buff;
    ifs.close();
}

int main(void){
    test0();
    return 0;
}
